Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Store the database in a role specific subdirectory #9645

Merged
6 commits merged into from
Sep 7, 2021

Conversation

hirschenberger
Copy link
Contributor

This is a cleaned up version of #8658 fixing #6880

polkadot companion: paritytech/polkadot#2923

client/db/src/utils.rs Outdated Show resolved Hide resolved
client/db/src/utils.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@cheme cheme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
It needs to be merge with master though for ci to pass.
The migration will not work for parity_db (no 'db_version' file but 'metadata' can be use).

@hirschenberger
Copy link
Contributor Author

Don't know what's the problem with the companion?

@cheme
Copy link
Contributor

cheme commented Sep 6, 2021

Don't know what's the problem with the companion?

Probably need merge with master

@hirschenberger
Copy link
Contributor Author

Don't know what's the problem with the companion?

Probably need merge with master

I just did merge but after the commit here, can you rerun the pipline here?

@cheme cheme added B5-clientnoteworthy C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit. labels Sep 6, 2021
Copy link
Contributor

@cheme cheme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cheme cheme requested a review from arkpar September 6, 2021 17:00
@ordian
Copy link
Member

ordian commented Sep 7, 2021

bot merge

@ghost
Copy link

ghost commented Sep 7, 2021

Trying merge.

@ghost ghost merged commit 6e15de9 into paritytech:master Sep 7, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow full and light client on-disk databases to co-exist
5 participants